package db;

import java.util.Date;

/**
 * AbstractBormat entity provides the base persistence definition of the Bormat
 * entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractBormat implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer borreqId;
	private Integer receivePurmatId;
	private Integer reqNum;
	private Integer maNum;
	private Integer okNum;
	private Date date;
	private Integer state;
	private String taskCode;
	private Integer backNum;
	private Integer backUseNum;
	private Receivepurmat receivepurmat;
	private Borreq borreq;

	// Constructors

	/** default constructor */
	public AbstractBormat() {
	}

	/** full constructor */
	public AbstractBormat(Integer borreqId, Integer receivePurmatId,
			Integer reqNum, Integer maNum, Integer okNum, Date date,
			Integer state, String taskCode, Integer backNum, Integer backUseNum) {
		this.borreqId = borreqId;
		this.receivePurmatId = receivePurmatId;
		this.reqNum = reqNum;
		this.maNum = maNum;
		this.okNum = okNum;
		this.date = date;
		this.state = state;
		this.taskCode = taskCode;
		this.backNum = backNum;
		this.backUseNum = backUseNum;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getBorreqId() {
		return this.borreqId;
	}

	public void setBorreqId(Integer borreqId) {
		this.borreqId = borreqId;
	}

	public Integer getReceivePurmatId() {
		return this.receivePurmatId;
	}

	public void setReceivePurmatId(Integer receivePurmatId) {
		this.receivePurmatId = receivePurmatId;
	}

	public Integer getReqNum() {
		return this.reqNum;
	}

	public void setReqNum(Integer reqNum) {
		this.reqNum = reqNum;
	}

	public Integer getMaNum() {
		return this.maNum;
	}

	public void setMaNum(Integer maNum) {
		this.maNum = maNum;
	}

	public Integer getOkNum() {
		return this.okNum;
	}

	public void setOkNum(Integer okNum) {
		this.okNum = okNum;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getTaskCode() {
		return this.taskCode;
	}

	public void setTaskCode(String taskCode) {
		this.taskCode = taskCode;
	}

	public Integer getBackNum() {
		return this.backNum;
	}

	public void setBackNum(Integer backNum) {
		this.backNum = backNum;
	}

	public Integer getBackUseNum() {
		return this.backUseNum;
	}

	public void setBackUseNum(Integer backUseNum) {
		this.backUseNum = backUseNum;
	}

	public Receivepurmat getReceivepurmat() {
		return receivepurmat;
	}

	public void setReceivepurmat(Receivepurmat receivepurmat) {
		this.receivepurmat = receivepurmat;
	}

	public Borreq getBorreq() {
		return borreq;
	}

	public void setBorreq(Borreq borreq) {
		this.borreq = borreq;
	}

}